package com.dqv5.k8s.bookinfo.service;

import com.dqv5.k8s.bookinfo.entity.BookInfo;

import java.util.List;

/**
 * @author duqian
 * @date 2020/9/25
 */
public interface BookService {

    List<BookInfo> queryAll();

    BookInfo queryById(Long id);

    void insert(BookInfo bookInfo);

    void update(BookInfo bookInfo);

    void delete(Long id);
}
